package com.atstudy.generic;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2023/1/3 16:03
 * @copyright: 博为峰
 */
public class MyColl<F> {
    public F f;

    public void m1(F f) {
        System.out.println(f);
    }

    //泛型方法
    public <M> void m2(M m) {
        System.out.println(m);
    }

}
